package com.nsy.shortlink.admin.controller;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nsy.shortlink.admin.common.convention.result.Result;
import com.nsy.shortlink.admin.remote.ShortLinkRemoteService;
import com.nsy.shortlink.admin.remote.dto.req.RecycleBinSaveReqDTO;
import com.nsy.shortlink.admin.remote.dto.req.ShortLinkPageReqDTO;
import com.nsy.shortlink.admin.remote.dto.resp.ShortLinkPageRespDTO;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @className: RecycleBinController
 * @author: 宁舒意
 * @description: TODO
 * @date: 2024/10/9 14:57
 */
@RestController
@RequiredArgsConstructor
public class RecycleBinController {
    @PostMapping("/api/short-link/admin/v1/recycle-bin/save")
    public Result<Void> saveRecycleBin(@RequestBody RecycleBinSaveReqDTO requestParam){
       return ShortLinkRemoteService.saveRecycleBin(requestParam);
    }



}
